package com.abocode.aichat.server.stanza;

import com.abocode.aichat.server.channel.ChannelWrapper;
import com.abocode.aichat.server.context.ServerContextName;
import com.abocode.aichat.server.reply.Replies;
import com.abocode.aichat.server.reply.Replies;


/**
 * Created by franky-14.
 */
public interface StanzaHandler extends ServerContextName {

     String namespace();

     boolean verify(ChannelWrapper channelWrapper, Stanza stanza);

     boolean isChannelReady();

     Replies service(ChannelWrapper channelWrapper, Stanza stanza);

     Replies handler(ChannelWrapper channelWrapper, Stanza stanza);

}
